home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / LISTMANA / __TESTER / NORMALLI.H < prev    next >
Text File  |  1989-06-25  |  1KB  |  50 lines

  1. /****/
  2. /**** Normal List Window information */
  3. /****/
  4.  
  5. #define    MAX_X            10
  6. #define    MAX_Y            20
  7.  
  8. typedef struct
  9. {
  10.     NewListHandle                    nlh;
  11.     int                                frameOff;
  12.     Rect                            sizeArea;
  13. } NormalWindowInfo;
  14.  
  15. void NormalListHandlerNew();
  16. void NormalListHandlerHit(int *hit);
  17. void NormalListHandlerClose();
  18. void NormalListHandler(int mess,unsigned char *data);
  19. pascal void NormalListHandlerUpdate();
  20. void NormalListHandlerSetupList(NormalWindowInfo *nwi);
  21. void NormalListHandlerHilite(NormalWindowInfo *nwi);
  22. void NormalListHandlerDrawFrame();
  23. void NormalListHandlerActivate(int act);
  24. void NormalListHandlerKey(char key);
  25.  
  26. #define    ListBox                1
  27. #define    AddColumn            2
  28. #define    DelColumn            3
  29. #define    AddRow                4
  30. #define    DelRow                5
  31. #define    Frame                6
  32. #define    CleanList            7
  33. #define    CellSizeButton        8
  34. #define    AutoScrollButton    9
  35.  
  36. char *Titles[MAX_X]=
  37. {
  38.     "\PLunacyNess",
  39.     "\PCraziNess",
  40.     "\PFunkiNess",
  41.     "\PWeirdNess",
  42.     "\PBizarrNess",
  43.     "\PSpecialNess",
  44.     "\PLocoNess",
  45.     "\PZippyNess",
  46.     "\PRandomNess",
  47.     "\PSanityNess"
  48. };
  49.  
  50. #define    UseTextBox